package com.dxy.shardingjdbc.model.po;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 报警表(Alarm)表实体类
 *
 * @author dangxianyue
 * @since 2023-02-03 13:52:21
 */
@Data
@Accessors(chain = true)
@TableName("t_alarm")
public class Alarm {

    //id
    @TableId(type = IdType.INPUT)
    private Long id;
    //企业id
    private Long companyId;
    //报警内容
    private String alarmContent;
    //报警时间
    private LocalDateTime alarmTime;
}

